#include "qtcmakewindow.h"

#include <QApplication>

#include <cmath>
#include <iostream>
#include <string>
#include <QStyleFactory>


#include "MathFunctions.h"
/**
 * @brief Main Fuction
*/

int main(int argc, char *argv[])
{
    double inputValue = std::stod("32");
    mathfunctions::sqrt(inputValue);

    QApplication a(argc, argv);
    QtCmakeWindow w;
    // 设置所有窗口的图标
    a.setWindowIcon(QIcon(":/image/images/gqrx.ico"));
    // 设置程序使用Fusion风格
    a.setStyle(QStyleFactory::create("Fusion"));
    w.show();
    return a.exec();
}
